Skip to content

Conversation

@sylwia-werner
Copy link
Collaborator

@sylwia-werner sylwia-werner requested a review from mikolvj November 5, 2025 14:35
@vercel
Copy link

vercel bot commented Nov 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
admin-panel Ready Ready Preview Comment Nov 12, 2025 9:15am
mercuradmin-development Ready Ready Preview Comment Nov 12, 2025 9:15am
test-admin-panel Ready Ready Preview Comment Nov 12, 2025 9:15am

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about just adding default value to count? like
const {
requests,
isLoading,
refetch,
count = 0,
} = ...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, refactored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants